#ifndef _ROUTER_H_
#define _ROUTER_H_

#include "common.h"
#include "ipmaclist.h"

#define ARRMAX 200

// 存储ubantu本身ip和MAC
// 传递套接字和过滤链表的结构体
typedef struct netcardifo{
   char cardName[20];
   unsigned char cardIp[20];		//IP地址
   unsigned char cardMac[20];		//MAC地址
   
}netCardIfo;

extern netCardIfo cardIfo[16]; // 存储获取到的网卡信息
extern int netNum;

int ipMacRouterCmp(uc8* dstIp, uc8* dstMac);


#endif